package cn.bdqn.domain;

import java.util.Date;

/**
 * 通知
 * @author dkj
 */
public class Notice {
    /**
     * id
     */
    private Integer id;

    /**
     * 主题
     */
    private String title;

    /**
     * 摘要
     */
    private String abstractText;

    /**
     * 封面图片路径
     */
    private String coverImage;

    /**
     * 发布时间
     */
    private Date issueTime;

    /**
     * 发布人
     */
    private String issuePerson;

    /**
     * 发布单位
     */
    private String issueUnit;

    /**
     * 浏览数量
     */
    private Integer browseNumber;

    /**
     * 收藏数
     */
    private Integer collectNumber;

    /**
     * 点赞数
     */
    private Integer praiseNumber;

    /**
     * '0已发布，1未发布，2下线'
     */
    private Integer issueState;

    /**
     * 内容
     */
    private String content;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getAbstractText() {
        return abstractText;
    }

    public void setAbstractText(String abstractText) {
        this.abstractText = abstractText;
    }

    public String getCoverImage() {
        return coverImage;
    }

    public void setCoverImage(String coverImage) {
        this.coverImage = coverImage == null ? null : coverImage.trim();
    }

    public Date getIssueTime() {
        return issueTime;
    }

    public void setIssueTime(Date issueTime) {
        this.issueTime = issueTime;
    }

    public String getIssuePerson() {
        return issuePerson;
    }

    public void setIssuePerson(String issuePerson) {
        this.issuePerson = issuePerson == null ? null : issuePerson.trim();
    }

    public String getIssueUnit() {
        return issueUnit;
    }

    public void setIssueUnit(String issueUnit) {
        this.issueUnit = issueUnit == null ? null : issueUnit.trim();
    }

    public Integer getBrowseNumber() {
        return browseNumber;
    }

    public void setBrowseNumber(Integer browseNumber) {
        this.browseNumber = browseNumber;
    }

    public Integer getCollectNumber() {
        return collectNumber;
    }

    public void setCollectNumber(Integer collectNumber) {
        this.collectNumber = collectNumber;
    }

    public Integer getPraiseNumber() {
        return praiseNumber;
    }

    public void setPraiseNumber(Integer praiseNumber) {
        this.praiseNumber = praiseNumber;
    }

    public Integer getIssueState() {
        return issueState;
    }

    public void setIssueState(Integer issueState) {
        this.issueState = issueState;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}